//
//  DLIncomeTC.m
//  delongzhitou
//
//  Created by Mr.Wang on 2018/12/19.
//  Copyright © 2018 delongzhitou. All rights reserved.
//

#import "DLIncomeTC.h"

@interface DLIncomeTC()

@property (nonatomic, strong) UILabel *moneyLabel;

@property (nonatomic, strong) UILabel *noteLabel;

@end

@implementation DLIncomeTC


- (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self layoutsubControls];
    }
    return self;
}
- (void) layoutsubControls {
    
    UILabel *moneyLabel = [UILabel new];
    moneyLabel.frame = CGRectMake(60, 0, kScreenWidth - 60, 33.5);
    moneyLabel.text = @"收益金额：+1.95元";
    moneyLabel.textAlignment = NSTextAlignmentLeft;
    moneyLabel.font = kSystemFont(16);
    moneyLabel.textColor = kDLNormalBlackColor;
    [self.contentView addSubview:moneyLabel];
    self.moneyLabel = moneyLabel;
    
    UILabel *noteLabel = [UILabel new];
    noteLabel.frame = CGRectMake(moneyLabel.left, moneyLabel.bottom, moneyLabel.width, moneyLabel.height);
    noteLabel.text = @"备注：已含9-17交易手续费0.85元";
    noteLabel.textAlignment = NSTextAlignmentLeft;
    noteLabel.font = kSystemFont(14);
    noteLabel.textColor = kColorRGB(210, 210, 210);
    [self.contentView addSubview:noteLabel];
    self.noteLabel = noteLabel;
}

- (void) configData {
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
